package com.test.mytest.springboot;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloWord {
	@Autowired
	HttpServletRequest request;
	
	@RequestMapping("/hello")
	public String helloWord(String id){
		
		return "123";
	}
	
	public static void main(String[] args) {
		SpringApplication.run(HelloWord.class,args);
	}
}
